<?php /* Smarty version 2.6.18, created on 2008-06-12 23:45:33
         compiled from admin/Websetup_permission_list.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'admin/Websetup_permission_list.html', 62, false),)), $this); ?>
<div id="removeFromFile">
<strong>系统发现项目删除了以下控制器方法，</strong><input id="bt_removefromdb" type="button" value="-> 点击这里从数据库中删除下列方法">
<ul>
	<?php $_from = $this->_tpl_vars['removeFromFile']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['oneCtrl']):
?>
	<li>
		<h1><?php echo $this->_tpl_vars['oneCtrl']['permission_group_name']; ?>
</h1>
		
		<?php $_from = $this->_tpl_vars['oneCtrl']['permissions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['permission']):
?>
		
			<h2>&nbsp;&nbsp;\--<?php echo $this->_tpl_vars['permission']['pername']; ?>
</h2>
		
		<?php endforeach; endif; unset($_from); ?>
	</li>	
	<?php endforeach; endif; unset($_from); ?>
</ul>
</div>
<div id="newInFile">
<strong>系统发现项目创建了新的控制器方法，</strong><input id="bt_savetodb" type="button" value="-> 点击这里添加下列方法到数据库">
<ul>
	<?php $_from = $this->_tpl_vars['newInFile']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['oneCtrl']):
?>
	<li>
		<h1><?php echo $this->_tpl_vars['oneCtrl']['permission_group_name']; ?>
</h1>
		
		<?php $_from = $this->_tpl_vars['oneCtrl']['permissions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['permission']):
?>
		
			<h2>&nbsp;&nbsp;\-<?php echo $this->_tpl_vars['permission']['pername']; ?>
</h2>
		
		<?php endforeach; endif; unset($_from); ?>
	</li>	
	<?php endforeach; endif; unset($_from); ?>
</ul>
</div>


<div id="permissionList">
<strong>权限列表</strong>
<?php $_from = $this->_tpl_vars['dbPermissionsList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['onefile']):
?>

	<h1 class="controller" group_id="<?php echo $this->_tpl_vars['onefile']['permission_group_id']; ?>
" need_login="<?php echo $this->_tpl_vars['onefile']['need_login']; ?>
">
		<span class="group_aliasname"><?php echo $this->_tpl_vars['onefile']['aliasname']; ?>
</span>
		<span class="groupname">(<?php echo $this->_tpl_vars['onefile']['permission_group_name']; ?>
)</span>
		<span class="tip"></span>
		<span class="editbox"></span>
	</h1>
	
	<?php $_from = $this->_tpl_vars['onefile']['permissions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['permission']):
?>
	
		<h2 class="action" permission_id="<?php echo $this->_tpl_vars['permission']['permission_id']; ?>
">&nbsp;&nbsp;\--
			<span class="permission_aliasname"><?php echo $this->_tpl_vars['permission']['aliasname']; ?>
</span>
			<span class="pername">(<?php echo $this->_tpl_vars['permission']['pername']; ?>
)</span>
			<span class="tip"></span>
			<span class="editbox"></span>
		</h2>
	
	<?php endforeach; endif; unset($_from); ?>
	
<?php endforeach; endif; unset($_from); ?>
</div>


<div id="div_update" class="hideme">
<form id="updategroup" action="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'admin_permissions','action' => 'groupaliasupdate'), $this);?>
" method="POST">
	<input id="permission_group_id" name="permission_group_id" type="hidden">
	<label>别名：<input name="aliasname" id="group_aliasname" type="text" size="40" /></label>
	<label><input class="need_login" name="need_login" type="radio" value="0" />公共</label> / 
	<label><input class="need_login" name="need_login" type="radio" value="1" />私有</label>
	<input type="submit" value="更新" />
	<input type='button' value='取消' class='removeModifyForm' />
</form>
<form id="updatepermission" action="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'admin_permissions','action' => 'permissionaliasupdate'), $this);?>
" method="POST">
	<input id="permission_id" name="permission_id" type="hidden">
	<label>别名：<input name="aliasname" id="permission_aliasname" type="text" size="50" /></label>
	<input type="submit" value="更新" />
	<input type='button' value='取消' class='removeModifyForm' />
</form>
</div>
